package cn.xf.service;

import cn.xf.domain.Product;

import java.util.List;

/**
 * @author xiaofu
 * @date 2021-05-11 12:30
 * @email dearaf@163.com
 */
public interface IProductService {

    List<Product> findAll();
    void save(Product product);

    void deleByIds(List<String> idList);

    void changeStatusByIds(List<String> idList, String status);

    Product selectById(String id);

    void updateById(Product product);

    List<Product> findAllByPage(Integer page, Integer pageSize);
}
